package com.enjoy.stack;

import java.util.List;
import java.util.Stack;

public class StackTest {

    public static void main(String[] args) {
        List<String> stack = new Stack<>();
        stack.add("aa");
        stack.add("bb");
        stack.add("cc");
        stack.add("dd");

        System.out.println("list = " + stack);
    }
}
